<div class="blade-content __medium-wide" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <div class="table-wrapper">
        <table class="table">
          <thead>
            <tr>
              <th class="table-col">
                <label class="form-control __checkbox">
                    <input (click)="onAllCheack($event.target)" #allCheckRef name="allCheck"  id="allCheck" type="checkbox">
                    <span class="check"></span>
                </label>
              </th>
              <th class="table-col">序号</th>
              <th class="table-col">值</th>
              <th class="table-col">名称</th>
              <th class="table-col">默认</th>
              <th class="table-col">排序</th>
            </tr>
          </thead>
          <tbody>
            <tr class="table-item" [ngClass]="{'__selected': currentEntity?.valueId == item.valueId}" *ngFor="let item of setofvalues let i =index ">
              <td class="table-col">
                <label class="form-control __checkbox">
                  <input name="itemCheck" (click)="onItemCheack($event.target,item)" [checked]="allCheckRef.checked" type="checkbox"  >
                   <span class="check"></span>
                </label>
              </td>
              <td class="table-col" (click)="onSeletedChange(item)">
                {{i+1}}
              </td>
              <td class="table-col" (click)="onSeletedChange(item)">
                {{item.valueCode}}
              </td>
              <td class="table-col" (click)="onSeletedChange(item)">
                {{item.valueDisplay}}
              </td>
              <td class="table-col">
                <label class="form-control __checkbox">
                 <input type="checkbox" name="valueDefault" [checked]="item.valueDefault"  disabled>
                <span class="check"></span>
                </label>
              </td>
              <td class="table-col" (click)="onSeletedChange(item)">
                {{item.valueSeq}}
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>